<?php
namespace App\Core\Exception;

/**
 * 默认异常【逻辑校验不通过时抛出】【此异常不记录错误日志】
 * Class DefaultException
 * @package App\Core\Exception
 */
class DefaultException extends BaseException{
    public function __construct($message = '', $code = 600, \Throwable $previous = null)
    {
        $message or $message = '系统异常';
        parent::__construct($message, $code, $previous);
    }
}